using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class MainViewController : ViewController<MainViewController, MainView>
{
    public override void AddListener()
    {
        base.AddListener();
    }

    public void UpdateBossHp(float v)
    {
        view.UpdateBossHP(v);
    }

    public void UpdatePlayerHp(float v)
    {
        view.UpdatePlayerHP(v);
    }

    public void UpdatePlayerMp(float v)
    {
        view.UpdatePlayerMP (v);
    }

    public void EnableBossUiHp(bool isEnable, string name)
    {
        view.EnableBossUiHp(isEnable, name);
    }

    public void SetSKillCD(int type ,float cd)
    {
        view.SetSkillCD(type, cd);
    }

}
